<?php

namespace ApplicationsModule\PeopleModule;

use \Nette\Object;

/**
 *
 * @author pavel
 */
abstract class ContactEncryptor extends Object {

    public static function encrypt($password) {
        return "encrypted_" . $password;
    }

    public static function decrypt($encrypted_password) {
        return substr($encrypted_password, strlen("encrypted_") + 1);
    }

}

?>
